package com.alpha.mybaits.model;


import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TcTaskInfoExample {
    
    protected String orderByClause;

    
    protected boolean distinct;

   
    protected List<Criteria> oredCriteria;

   
    public TcTaskInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

   
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

   
    public String getOrderByClause() {
        return orderByClause;
    }

   
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    
    public boolean isDistinct() {
        return distinct;
    }

    
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

   
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * This method was generated by Apache iBATIS Ibator.
     * This method corresponds to the database table tc_task_info
     *
     * @ibatorgenerated Wed Sep 28 19:34:00 GMT+08:00 2016
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by Apache iBATIS Ibator.
     * This class corresponds to the database table tc_task_info
     *
     * @ibatorgenerated Wed Sep 28 19:34:00 GMT+08:00 2016
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTaskInterfaceIsNull() {
            addCriterion("task_interface is null");
            return (Criteria) this;
        }

        public Criteria andTaskInterfaceIsNotNull() {
            addCriterion("task_interface is not null");
            return (Criteria) this;
        }

        public Criteria andTaskInterfaceEqualTo(String value) {
            addCriterion("task_interface =", value, "taskInterface");
            return (Criteria) this;
        }

        public Criteria andTaskInterfaceNotEqualTo(String value) {
            addCriterion("task_interface <>", value, "taskInterface");
            return (Criteria) this;
        }

        public Criteria andTaskInterfaceGreaterThan(String value) {
            addCriterion("task_interface >", value, "taskInterface");
            return (Criteria) this;
        }

        public Criteria andTaskInterfaceGreaterThanOrEqualTo(String value) {
            addCriterion("task_interface >=", value, "taskInterface");
            return (Criteria) this;
        }

        public Criteria andTaskInterfaceLessThan(String value) {
            addCriterion("task_interface <", value, "taskInterface");
            return (Criteria) this;
        }

        public Criteria andTaskInterfaceLessThanOrEqualTo(String value) {
            addCriterion("task_interface <=", value, "taskInterface");
            return (Criteria) this;
        }

        public Criteria andTaskInterfaceLike(String value) {
            addCriterion("task_interface like", value, "taskInterface");
            return (Criteria) this;
        }

        public Criteria andTaskInterfaceNotLike(String value) {
            addCriterion("task_interface not like", value, "taskInterface");
            return (Criteria) this;
        }

        public Criteria andTaskInterfaceIn(List<String> values) {
            addCriterion("task_interface in", values, "taskInterface");
            return (Criteria) this;
        }

        public Criteria andTaskInterfaceNotIn(List<String> values) {
            addCriterion("task_interface not in", values, "taskInterface");
            return (Criteria) this;
        }

        public Criteria andTaskInterfaceBetween(String value1, String value2) {
            addCriterion("task_interface between", value1, value2, "taskInterface");
            return (Criteria) this;
        }

        public Criteria andTaskInterfaceNotBetween(String value1, String value2) {
            addCriterion("task_interface not between", value1, value2, "taskInterface");
            return (Criteria) this;
        }

        public Criteria andTaskModelNameIsNull() {
            addCriterion("task_model_name is null");
            return (Criteria) this;
        }

        public Criteria andTaskModelNameIsNotNull() {
            addCriterion("task_model_name is not null");
            return (Criteria) this;
        }

        public Criteria andTaskModelNameEqualTo(String value) {
            addCriterion("task_model_name =", value, "taskModelName");
            return (Criteria) this;
        }

        public Criteria andTaskModelNameNotEqualTo(String value) {
            addCriterion("task_model_name <>", value, "taskModelName");
            return (Criteria) this;
        }

        public Criteria andTaskModelNameGreaterThan(String value) {
            addCriterion("task_model_name >", value, "taskModelName");
            return (Criteria) this;
        }

        public Criteria andTaskModelNameGreaterThanOrEqualTo(String value) {
            addCriterion("task_model_name >=", value, "taskModelName");
            return (Criteria) this;
        }

        public Criteria andTaskModelNameLessThan(String value) {
            addCriterion("task_model_name <", value, "taskModelName");
            return (Criteria) this;
        }

        public Criteria andTaskModelNameLessThanOrEqualTo(String value) {
            addCriterion("task_model_name <=", value, "taskModelName");
            return (Criteria) this;
        }

        public Criteria andTaskModelNameLike(String value) {
            addCriterion("task_model_name like", value, "taskModelName");
            return (Criteria) this;
        }

        public Criteria andTaskModelNameNotLike(String value) {
            addCriterion("task_model_name not like", value, "taskModelName");
            return (Criteria) this;
        }

        public Criteria andTaskModelNameIn(List<String> values) {
            addCriterion("task_model_name in", values, "taskModelName");
            return (Criteria) this;
        }

        public Criteria andTaskModelNameNotIn(List<String> values) {
            addCriterion("task_model_name not in", values, "taskModelName");
            return (Criteria) this;
        }

        public Criteria andTaskModelNameBetween(String value1, String value2) {
            addCriterion("task_model_name between", value1, value2, "taskModelName");
            return (Criteria) this;
        }

        public Criteria andTaskModelNameNotBetween(String value1, String value2) {
            addCriterion("task_model_name not between", value1, value2, "taskModelName");
            return (Criteria) this;
        }

        public Criteria andTaskDateIsNull() {
            addCriterion("task_date is null");
            return (Criteria) this;
        }

        public Criteria andTaskDateIsNotNull() {
            addCriterion("task_date is not null");
            return (Criteria) this;
        }

        public Criteria andTaskDateEqualTo(Date value) {
            addCriterion("task_date =", value, "taskDate");
            return (Criteria) this;
        }

        public Criteria andTaskDateNotEqualTo(Date value) {
            addCriterion("task_date <>", value, "taskDate");
            return (Criteria) this;
        }

        public Criteria andTaskDateGreaterThan(Date value) {
            addCriterion("task_date >", value, "taskDate");
            return (Criteria) this;
        }

        public Criteria andTaskDateGreaterThanOrEqualTo(Date value) {
            addCriterion("task_date >=", value, "taskDate");
            return (Criteria) this;
        }

        public Criteria andTaskDateLessThan(Date value) {
            addCriterion("task_date <", value, "taskDate");
            return (Criteria) this;
        }

        public Criteria andTaskDateLessThanOrEqualTo(Date value) {
            addCriterion("task_date <=", value, "taskDate");
            return (Criteria) this;
        }

        public Criteria andTaskDateIn(List<Date> values) {
            addCriterion("task_date in", values, "taskDate");
            return (Criteria) this;
        }

        public Criteria andTaskDateNotIn(List<Date> values) {
            addCriterion("task_date not in", values, "taskDate");
            return (Criteria) this;
        }

        public Criteria andTaskDateBetween(Date value1, Date value2) {
            addCriterion("task_date between", value1, value2, "taskDate");
            return (Criteria) this;
        }

        public Criteria andTaskDateNotBetween(Date value1, Date value2) {
            addCriterion("task_date not between", value1, value2, "taskDate");
            return (Criteria) this;
        }

        public Criteria andTaskTableIdIsNull() {
            addCriterion("task_table_id is null");
            return (Criteria) this;
        }

        public Criteria andTaskTableIdIsNotNull() {
            addCriterion("task_table_id is not null");
            return (Criteria) this;
        }

        public Criteria andTaskTableIdEqualTo(Long value) {
            addCriterion("task_table_id =", value, "taskTableId");
            return (Criteria) this;
        }

        public Criteria andTaskTableIdNotEqualTo(Long value) {
            addCriterion("task_table_id <>", value, "taskTableId");
            return (Criteria) this;
        }

        public Criteria andTaskTableIdGreaterThan(Long value) {
            addCriterion("task_table_id >", value, "taskTableId");
            return (Criteria) this;
        }

        public Criteria andTaskTableIdGreaterThanOrEqualTo(Long value) {
            addCriterion("task_table_id >=", value, "taskTableId");
            return (Criteria) this;
        }

        public Criteria andTaskTableIdLessThan(Long value) {
            addCriterion("task_table_id <", value, "taskTableId");
            return (Criteria) this;
        }

        public Criteria andTaskTableIdLessThanOrEqualTo(Long value) {
            addCriterion("task_table_id <=", value, "taskTableId");
            return (Criteria) this;
        }

        public Criteria andTaskTableIdIn(List<Long> values) {
            addCriterion("task_table_id in", values, "taskTableId");
            return (Criteria) this;
        }

        public Criteria andTaskTableIdNotIn(List<Long> values) {
            addCriterion("task_table_id not in", values, "taskTableId");
            return (Criteria) this;
        }

        public Criteria andTaskTableIdBetween(Long value1, Long value2) {
            addCriterion("task_table_id between", value1, value2, "taskTableId");
            return (Criteria) this;
        }

        public Criteria andTaskTableIdNotBetween(Long value1, Long value2) {
            addCriterion("task_table_id not between", value1, value2, "taskTableId");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andTaskProjectPlatformIsNull() {
            addCriterion("task_project_platform is null");
            return (Criteria) this;
        }

        public Criteria andTaskProjectPlatformIsNotNull() {
            addCriterion("task_project_platform is not null");
            return (Criteria) this;
        }

        public Criteria andTaskProjectPlatformEqualTo(String value) {
            addCriterion("task_project_platform =", value, "taskProjectPlatform");
            return (Criteria) this;
        }

        public Criteria andTaskProjectPlatformNotEqualTo(String value) {
            addCriterion("task_project_platform <>", value, "taskProjectPlatform");
            return (Criteria) this;
        }

        public Criteria andTaskProjectPlatformGreaterThan(String value) {
            addCriterion("task_project_platform >", value, "taskProjectPlatform");
            return (Criteria) this;
        }

        public Criteria andTaskProjectPlatformGreaterThanOrEqualTo(String value) {
            addCriterion("task_project_platform >=", value, "taskProjectPlatform");
            return (Criteria) this;
        }

        public Criteria andTaskProjectPlatformLessThan(String value) {
            addCriterion("task_project_platform <", value, "taskProjectPlatform");
            return (Criteria) this;
        }

        public Criteria andTaskProjectPlatformLessThanOrEqualTo(String value) {
            addCriterion("task_project_platform <=", value, "taskProjectPlatform");
            return (Criteria) this;
        }

        public Criteria andTaskProjectPlatformLike(String value) {
            addCriterion("task_project_platform like", value, "taskProjectPlatform");
            return (Criteria) this;
        }

        public Criteria andTaskProjectPlatformNotLike(String value) {
            addCriterion("task_project_platform not like", value, "taskProjectPlatform");
            return (Criteria) this;
        }

        public Criteria andTaskProjectPlatformIn(List<String> values) {
            addCriterion("task_project_platform in", values, "taskProjectPlatform");
            return (Criteria) this;
        }

        public Criteria andTaskProjectPlatformNotIn(List<String> values) {
            addCriterion("task_project_platform not in", values, "taskProjectPlatform");
            return (Criteria) this;
        }

        public Criteria andTaskProjectPlatformBetween(String value1, String value2) {
            addCriterion("task_project_platform between", value1, value2, "taskProjectPlatform");
            return (Criteria) this;
        }

        public Criteria andTaskProjectPlatformNotBetween(String value1, String value2) {
            addCriterion("task_project_platform not between", value1, value2, "taskProjectPlatform");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by Apache iBATIS Ibator.
     * This class corresponds to the database table tc_task_info
     *
     * @ibatorgenerated do_not_delete_during_merge Wed Sep 28 19:34:00 GMT+08:00 2016
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by Apache iBATIS Ibator.
     * This class corresponds to the database table tc_task_info
     *
     * @ibatorgenerated Wed Sep 28 19:34:00 GMT+08:00 2016
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value) {
            super();
            this.condition = condition;
            this.value = value;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.betweenValue = true;
        }
    }
}